projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd7e7d1
)
GtkImage: Always close the loader
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 30 Jul 2014 22:12:30 +0000
(
00:12
+0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 30 Jul 2014 22:12:30 +0000
(
00:12
+0200)
This was causing some tests to fail with a critical.
gtk/gtkimage.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimage.c
b/gtk/gtkimage.c
index 98c969eb3f11dab1c8112eb0514c76991853ac07..80b514d98f3236a2d499f3329d403de27d8e2e47 100644
(file)
--- a/
gtk/gtkimage.c
+++ b/
gtk/gtkimage.c
@@
-900,6
+900,7
@@
load_scalable_with_loader (GtkImage *image,
}
out:
+ gdk_pixbuf_loader_close (loader, NULL);
g_object_unref (loader);
g_bytes_unref (bytes);